package com.water.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @program: city_water
 * @description:
 * @author: lydms
 * @create: 2024-05-11 15:58
 **/

@Data
public class MeterVo implements Serializable {

    // 水表id
    private Long meterId;
//    private Long userId;

    private String UserName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime installationDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime lastReadingDate;

    // 1正常，2异常
    private Integer  meterStatus;
}
